package com.sxhuayuan.parking.exception;

import com.sxhuayuan.parking.utils.SpringUtils;

/**
 * 停车业务异常
 * 
 * @author gy
 */
public class ParkException extends Exception {
	private static final long serialVersionUID = 1L;

	public ParkException() {
		super();
	}

	public ParkException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
		super(SpringUtils.getMessage(message), cause, enableSuppression, writableStackTrace);
	}

	public ParkException(String message, Throwable cause) {
		super(SpringUtils.getMessage(message), cause);
	}

	public ParkException(String message) {
		super(SpringUtils.getMessage(message));
	}

	public ParkException(Throwable cause) {
		super(cause);
	}

}
